﻿<!DOCTYPE html>
<html manifest="@Url.Content("~/Manifest.ashx")">
<head>
    <title>@ViewBag.Title</title>
    
    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; minimum-scale=1.0; user-scalable=0;" />
    @*<link rel="apple-touch-icon" href="icon.jpg" />*@
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta names="apple-mobile-web-app-status-bar-style" content="black" />

    <link href="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css" rel="stylesheet" type="text/css" media="screen" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.min.js")" type="text/javascript"></script>
    
    <script language="javascript" type="text/javascript">
        $(document).bind("mobileinit", function () {
            $.mobile.loadingMessage = "Laden...";
            $.mobile.page.prototype.options.backBtnText = "Terug";
        });
    </script>

    <script src="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.js" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Helper.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Params.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/BrowserKmDb.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/RemoteKmDb.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.json.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.alphanumeric.pack.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.maskedinput-1.2.2.min.js")" type="text/javascript"></script>
    <script src="http://ajax.aspnetcdn.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/LoadLocal.js")" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        $(document).ready(function () {
            $(window).bind("online offline", ApplicationStateChanged);
            ApplicationStateChanged(); //force check
        });
    </script>
</head>

<body onload="HideNavBar();">
    <div data-role="page" id="mainPage">
        <div data-role="header">
            @if (this.IsSectionDefined("AlternateHeader"))
            {
                @RenderSection("AlternateHeader");
            }
            else
            {
                <h1>@ViewBag.Title</h1>
                @*<a href="@Url.Action("Options")" data-role="button" data-icon="gear" class="ui-btn-right" rel="external">Opties</a>*@
            }
        </div>
        <div data-role="content">
            @RenderBody()
        </div>
        <div data-role="footer">
            <h1><a href="http://www.jsc-projects.nl/" rel="external">JSC Projects</a></h1>
        </div>
    </div>
</body>
</html>
